<!DOCTYPE html>
<html>
  <head>
  <meta charset="UTF-8">
    <title>333.html</title>
	<script type="text/javascript"src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
var checkbox=$("#123").val;
checkbox.value;
$("#123").click(function(){
alert("已接受条款，可以注册");
});
});

</script>
  </head>
  
  <body>
    <FORM action="">
    <input name="Fruit" type="checkbox" value="" checked="checked" id="123"/>请先乐队<a href="#">条款</a>并接受</label> 
    </FORM>
  </body>
</html>
